<script setup lang="ts"></script>

<template>
  <div class="nav-bar">
    <div class="left"><slot name="nav-left"></slot></div>
    <div class="center"><slot name="nav-center"></slot></div>
    <div class="right"><slot name="nav-right"></slot></div>
  </div>
</template>

<style lang="less" scoped>
.nav-bar {
  display: flex;
  line-height: 44px;
  height: 44px;
  text-align: center;
  box-shadow: 0px 0px 1px 0px rgb(93 149 149);
  background-color: var(--color-tint);
  color: #fff;

  .left,
  .right {
    width: 60px;
    /* background-color: aquamarine; */
  }
  .center {
    flex: 1;
    // background-color: salmon; 
  }
}
</style>
